<?
	require("koneksi.php");
	$nrp=$_GET["nrp"];
	$query=mysql_query("select * from biodata where nrp='$nrp'");
	$row=mysql_fetch_row($query);
	$jumlahdata = mysql_num_rows($query);
	
	if ($jumlahdata >0)
	{
		echo "NRP : $row[0]\n";
		echo "Nama : $row[1]\n";
	}else
	{
		echo "Anda tidak terdaftar";
	
	}
	
?>